Skip to content

Update existing users belonging to the {CUSTOMER} specified in the URL path

Request

Security
basicAuth
Path
CUSTOMERstring, [ 5 .. 7 ] characters(customer)[0-9]{5}([A-Z]{2})?required
Example:44444
Bodyapplication/jsonrequired
Array [
>= 2 properties
userstring, <= 256 characters(user_v2)^([!#$%&'*+/=?^_`{|}~a-zA-Z0-9-]+\.)*[!#$%&'*...required
Example:"customer@domain.com"
displayNamestring, [ 1 .. 256 ] characters(displayName)
Example:"R. Meyer"
givenNamestring, [ 1 .. 128 ] characters(givenName)
Example:"Robert"
surNamestring, [ 1 .. 128 ] characters(surName)
Example:"Meyer"
languagestring, <= 8 characters(language)
Enum:"cs_CZ""da_DK""de_DE""en_GB""en_US""es_ES""es_MX""fi_FI""fr_FR""hu_HU"
Example:"de_DE"
timezonestring, <= 32 characters(timezone)
Enum:"Africa/Abidjan""Africa/Accra""Africa/Addis_Ababa""Africa/Algiers""Africa/Asmara""Africa/Asmera""Africa/Bamako""Africa/Bangui""Africa/Banjul""Africa/Bissau"
Example:"Europe/Berlin"
departmentstring or null, [ 1 .. 256 ] characters(department_v2)
Example:"Sales"
costcenterstring or null, [ 1 .. 256 ] characters(costcenter_v2)
Example:"01"
phonestring or null, [ 1 .. 64 ] characters(phone)
Example:"+49 30 67242-33"
mobilestring or null, [ 1 .. 64 ] characters(mobile)
Example:"+49 175 424222"
failoverGroupsArray of strings or null, <= 16 items(failoverGroups)
Example:
[ "emea", "germany" ]
]
curl -i -X PATCH \
  -u '<username>:<password>' \
  https://developers.retarus.com/_mock/seg/email-continuity-api/44444 \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "user": "customer@domain.com",
      "displayName": "R. Meyer",
      "givenName": "Robert",
      "surName": "Meyer",
      "language": "de_DE",
      "timezone": "Europe/Berlin",
      "department": "Sales",
      "costcenter": "01",
      "phone": "+49 30 67242-33",
      "mobile": "+49 175 424222",
      "failoverGroups": [
        "emea",
        "germany"
      ]
    }
  ]'

Responses

OK

Bodyapplication/json
idstringrequired
timestampstringrequired
countinteger, >= 0required
usersArray of stringsrequired
Response
{ "id": "string", "timestamp": "string", "count": 0, "users": [ "customer@domain.com" ] }